package cvi.com.reader.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 梅涛 on 2020/7/29.
 */

public class FirstClassTextBookBean implements Serializable {


    /**
     * code : 1
     * msg : ok
     * rows : [{"id":40,"name":"小学语文","pid":10,"desc":"","weigh":0,"status":"normal","flag":"","image":"","cover":"","has_children":1},{"id":47,"name":"初中语文","pid":10,"desc":"","weigh":0,"status":"normal","flag":"","image":"","cover":"","has_children":1},{"id":54,"name":"小学英语","pid":10,"desc":"","weigh":0,"status":"normal","flag":"new","image":"","cover":"","has_children":1}]
     */

    private int code;
    private String msg;
    private List<RowsBean> rows;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * id : 40
         * name : 小学语文
         * pid : 10
         * desc :
         * weigh : 0
         * status : normal
         * flag :
         * image :
         * cover :
         * has_children : 1
         */

        private int id;
        private String name;
        private int pid;
        private String desc;
        private int weigh;
        private String status;
        private String flag;
        private String image;
        private String cover;
        private int has_children;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPid() {
            return pid;
        }

        public void setPid(int pid) {
            this.pid = pid;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public int getWeigh() {
            return weigh;
        }

        public void setWeigh(int weigh) {
            this.weigh = weigh;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getCover() {
            return cover;
        }

        public void setCover(String cover) {
            this.cover = cover;
        }

        public int getHas_children() {
            return has_children;
        }

        public void setHas_children(int has_children) {
            this.has_children = has_children;
        }
    }
}
